<script>
    nmenuindex=3;
	
</script>
        <div style="width: 960px;background: url(JO_images/hr.gif1) repeat-x top left #222;position: relative;float:left;

             ">
            <? 
            include ('controller/JO_4rumController.php');
            include 'JO_007_nav1.php';
            if(isset($_REQUEST["article"])){
            $post=forumModule::getPost($_REQUEST["article"]);
            }

            if(isset($post) && $post !=null){
                
            ?>
            <div class="mar8i"></div>
            <div style="margin-left: 0px;background:#1a1a1a;" class="bar_720i">

                    <div class="JO_h1i">Diễn Đàn :: <?=$post["subject"]?> :: <?=html_entity_decode($post["title"],ENT_QUOTES,'utf-8')?></div>
                    <div class="mar8i"></div>
                    <div style="float: left;margin-bottom: 8px; width: 700px;">

                        <div class="JO_kpopnews_item720i">

                            
                            <div class="JO_Comments_avatarii">
                                <div class="JO_Comments_nameii"><?=isset($post["name"])?$post["name"]:"(Guest)"?></div>
                                <img alt="" src="<?=isset($post["avatar"])?$post["avatar"]:"JO_images/noAvatar.gif"?>">
                                <div class="JO_Comments_dateii">
                                    <?
                                    $_time=new DateTime($post["insert"]);
                                    echo $_time->format('D d/m/Y')
                                    ?>
                                </div>
                                
                                <div id="" class="JO_Comments_timeii">
                                    <?
                                    echo $_time->format('h:i:s A')
                                    ?>
                                </div>

                            </div>
                            
                            <div class="mar8i"></div>
                            <div class="JO_newscontenti" style="width: 516px;">
                                <b><?=html_entity_decode($post["title"],ENT_QUOTES,'utf-8')?></b><br/>
<!--                                <i class="JO_ii"><?//=$post["insert"]?></i><br/>-->
                               	<?=  html_entity_decode($post["content"],ENT_QUOTES,'utf-8')?>

                            </div>
                            
                            <div class="JO_kpopnew_maincontenti" style="margin-top: 8px;">
                                <?=html_entity_decode($post["description"],ENT_QUOTES,'utf-8')?>
                            </div>

                        </div>
                    </div>
					<?
					$article_id=$post["key"];
					include('JO_011_commentOBJ.php');
					?>
<!--                    <div class="JO_h1i">Bài Viết Khác</div>
                    <div class="mar8i"></div>
                    <div style="float: left;margin-bottom: 8px; width: 704px;">
                        <ul class="nav_relatedi" style="padding-bottom: 0px;padding: 0px 8px 0px 0px;">

                            <li><a href=""><i class="JO_ii">ádasdasd</i>ádasdasdasd</a></li>

                        </ul>

                    </div>-->

            </div>


        </div>
            <?
            }else{
                ?>

            <div class="mar8i"></div>
            <div style="margin-left: 0px;background:#1a1a1a;" class="bar_720i">

                    <div class="JO_h1i">Diễn Đàn</div>
                    <div class="mar8i"></div>
                    <div style="float: left;margin-bottom: 8px; width: 700px;">
                        Bài Viết Không tồn tại.(không nên bấm lung tung)
                    </div>
            </div>
                <?
            }
?>